<?xml version="1.0" encoding="ISO-8859-1" ?>
<%@page import="test.*"%>

<%@page import="java.sql.*"%>

<%@page import="java.util.*"%>
<%@page import = "java.util.Date" %>
<%@page import = "java.text.DateFormat" %>
<%@page import = "java.text.SimpleDateFormat" %>

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<link rel="stylesheet" type="text/css" href="main.css"></link>
<title>Save Workshop</title>
</head>
<body>

<div id="header">
<div style="float: left"><img height="75px" width="165px"
	alt="IMAGE" src="./Img/banner1.jpg" /> <img height="75px" width="165px"
	alt="IMAGE" src="./Img/banner2.jpg" /> <img height="75px" width="165px"
	alt="IMAGE" src="./Img/banner3.jpg" /> <img height="75px" width="160px"
	alt="IMAGE" src="./Img/banner5.jpg" /> <img height="75px" width="160px"
	alt="IMAGE" src="./Img/banner4.jpg" /> <img height="75px" width="162px"
	alt="IMAGE" src="./Img/banner7.jpg" /></div>

</div>
<div id="main">
<div id="main-left">
<div id="links"><a id="link1" href="Home.jsp"> Home </a> <br />
<br />
<a id="link2" href=""> About Conference</a> <br />
<br />
<a id="link3" href="RegisterConference.jsp"> Register</a> <br />
<br />
<a id="link4" href="ListOfAttendees.jsp"> List of Attendees</a> <br />
<br />
<a id="link5" href="PresentWorkshop.jsp">Present a Workshop</a> <br />
<br />
<a id="link5" href="">Administrator</a> <br />
<br />
<a id="link6" href="">My Profile</a></div>
</div>
<div id="main-right">
<h1 id="title"><em>Tutor/Mentor Leadership And Networking
Conference</em></h1>
<div class = "success">
<% 
int confId = (Integer)session.getAttribute("conferenceId");
String wTitle = request.getParameter("wTitle");
String wDescription = request.getParameter("wdescr");
String exp = request.getParameter("Session_experience_level");
String startTime = request.getParameter("startTime");
System.out.println(startTime);
String endTime = request.getParameter("endTime");
System.out.println(endTime);
String email = request.getParameter("Email");
String toBeHeldOn = request.getParameter("dateOfWorkshop");
System.out.println(toBeHeldOn);
WorkshopDataAccess1 w = new WorkshopDataAccess1();
w.saveWorkshopDetails(confId,wTitle,wDescription,exp,startTime,endTime,toBeHeldOn,email);
%>
<h4>You have successfully added the workshop details to the conference. To add another workshop to the same conference click here: <a href = "AdminWorkshopExists.jsp">Click here</a></h4>
</div>
</div>
</div>

</body>
</html>